\hypertarget{structsc2_1_1_point2_d}{}\section{sc2\+:\+:Point2D Struct Reference}
\label{structsc2_1_1_point2_d}\index{sc2\+::\+Point2D@{sc2\+::\+Point2D}}


{\ttfamily \#include $<$sc2\+\_\+common.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_a83406df6d5f17ca5b860b8a50c1ea3d8}\label{structsc2_1_1_point2_d_a83406df6d5f17ca5b860b8a50c1ea3d8}} 
{\bfseries Point2D} (\hyperlink{structsc2_1_1_point3_d}{Point3D} a)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_a58c45e3ea9780c98b2b8d843ba8f446c}\label{structsc2_1_1_point2_d_a58c45e3ea9780c98b2b8d843ba8f446c}} 
{\bfseries Point2D} (float in\+\_\+x, float in\+\_\+y)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_afc0211a8902e5d8338449002494a16b3}\label{structsc2_1_1_point2_d_afc0211a8902e5d8338449002494a16b3}} 
\hyperlink{structsc2_1_1_point2_d}{Point2D} \& {\bfseries operator+=} (const \hyperlink{structsc2_1_1_point2_d}{Point2D} \&rhs)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_a5c2de2d11b06fbf93220068dea12a698}\label{structsc2_1_1_point2_d_a5c2de2d11b06fbf93220068dea12a698}} 
\hyperlink{structsc2_1_1_point2_d}{Point2D} \& {\bfseries operator-\/=} (const \hyperlink{structsc2_1_1_point2_d}{Point2D} \&rhs)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_abbf5facb424ab9ddec00beba106a0f43}\label{structsc2_1_1_point2_d_abbf5facb424ab9ddec00beba106a0f43}} 
\hyperlink{structsc2_1_1_point2_d}{Point2D} \& {\bfseries operator$\ast$=} (float rhs)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_ae0022cafc9721ff7206782c23bb236fc}\label{structsc2_1_1_point2_d_ae0022cafc9721ff7206782c23bb236fc}} 
\hyperlink{structsc2_1_1_point2_d}{Point2D} \& {\bfseries operator/=} (float rhs)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_abb5cb5aa2ef2a7eed671d27f058eb8f1}\label{structsc2_1_1_point2_d_abb5cb5aa2ef2a7eed671d27f058eb8f1}} 
bool {\bfseries operator==} (const \hyperlink{structsc2_1_1_point2_d}{Point2D} \&rhs)
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_ac2cf79f219e1f4a17de3e71edd20b1ce}\label{structsc2_1_1_point2_d_ac2cf79f219e1f4a17de3e71edd20b1ce}} 
bool {\bfseries operator!=} (const \hyperlink{structsc2_1_1_point2_d}{Point2D} \&rhs)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_aee46b1a1c9862b36d48b7e8eb7f67b35}\label{structsc2_1_1_point2_d_aee46b1a1c9862b36d48b7e8eb7f67b35}} 
float {\bfseries x}
\item 
\mbox{\Hypertarget{structsc2_1_1_point2_d_aacb47402f8fb86978830360e56a72d92}\label{structsc2_1_1_point2_d_aacb47402f8fb86978830360e56a72d92}} 
float {\bfseries y}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
2D point. \begin{DoxySeeAlso}{See also}
Distance2\+D(const Point2\+D\& a, const Point2\+D\& b) Distance\+Squared2\+D(const Point2\+D\& a, const Point2\+D\& b) Normalize2\+D(\+Point2\+D\& a) Dot2\+D(const Point2\+D\& a, const Point2\+D\& b) 
\end{DoxySeeAlso}


The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/\hyperlink{sc2__common_8h}{sc2\+\_\+common.\+h}\end{DoxyCompactItemize}
